{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="form form-horizontal" id="form" method="post" action="{:\\think\\Request::instance()->baseUrl()}">
        <input type="hidden" name="id" value="{:isset($vo.id)?$vo.id:''}">
        <input type="hidden" name="name"  value="{$vo.name ?? ''}"  >
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">成员名称：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <span>{$vo.name ?? ''}</span>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">真实姓名：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <!-- <span>{$vo.realname ?? ''}</span> -->
                <input type="text" readonly class="input-text"  value="{$vo.realname ?? ''}" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">公司名称：</label>
            <div class="formControls col-xs-6 col-sm-6">
               <!--  <span>{$vo.company ?? ''}</span> -->
                <input type="text" readonly class="input-text" value="{$vo.company ?? ''}" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">手机号：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <!-- <span>{$vo.mobile ?? ''}</span> -->
                <input type="text" readonly class="input-text" value="{$vo.mobile ?? ''}" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">邮箱：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <!-- <span>{$vo.email ?? ''}</span> -->
                <input type="text" readonly class="input-text" value="{$vo.email ?? ''}" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">经验值：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <!-- <span>{$vo.exppoints ?? ''}</span> -->
                <input type="text" readonly class="input-text" value="{$vo.exppoints ?? ''}" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">手机验证：</label>
            <div class="formControls col-xs-6 col-sm-6 skin-minimal">
                <div class="radio-box">
                    <input type="radio" name="mobile_bind" id="mobile_bind-1" value="1" datatype="*" nullmsg="请选择状态">
                    <label for="mobile_bind-1">已验证</label>
                </div>
                <div class="radio-box">
                    <input type="radio" name="mobile_bind" id="mobile_bind-0" value="0">
                    <label for="mobile_bind-0">未验证</label>
                </div>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">邮箱验证：</label>
            <div class="formControls col-xs-6 col-sm-6 skin-minimal">
                <div class="radio-box">
                    <input type="radio" name="email_bind" id="email_bind-1" value="1" datatype="*" nullmsg="请选择状态">
                    <label for="email_bind-1">已验证</label>
                </div>
                <div class="radio-box">
                    <input type="radio" name="email_bind" id="email_bind-0" value="0">
                    <label for="email_bind-0">未验证</label>
                </div>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                <button type="button" class="btn btn-default radius ml-20" onClick="layer_close();">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script>
    $(function () {
        $("[name='mobile_bind'][value='{$vo.mobile_bind==1 ? 1 : 0}']").attr("checked", true);
        $("[name='email_bind'][value='{$vo.email_bind==1 ? 1 : 0}']").attr("checked", true);
        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#form").Validform({
            tiptype: 2,
            ajaxPost: true,
            showAllError: true,
            callback: function (ret) {
                ajax_progress(ret);
            }
        });
    })
</script>
{/block}